package test13;

import com.tyfspring.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/4/18 17:01
 */

public class UserServiceBeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("拦截方法：" + method.getName());
    }

}
